<table class="table table-bordered">
    <thead>
    <tr>
        <th width="5%">回答ID</th>
        <th width="20%">回答内容</th>
        <th width="7%">回答用户ID</th>
        <th width="6%">回答用户</th>
        <th width="6%">提问ID</th>
        <th width="6%">回答状态</th>
        <th width="6%">被举报次数</th>
        <th width="10%">回答时间</th>
        <th width="6%">操作</th>
    </tr>
    </thead>
    <tbody>
    <volist name="list" id="row" key="k">
        <tr class="listBg">
            <td>{$row.answer_id}</td>
            <td>{$row.content}</td>
            <td>{$row.user_id}</td>
            <td>{$row.user_name}</td>
            <td>{$row.question_id}</td>
            <td>{$row.answer_status}</td>
            <td>{$row.report_num}</td>
            <td>{$row.create_time}</td>
            <td>
                <if condition="$row.status eq 1">
                    <a href="#" onclick="return q_disable({$row['answer_id']},3)">违规禁用</a><br/>
                    <!--<a href="#" onclick="return q_disable({$row['answer_id']},4)">用户禁用</a><br/>-->
                    <else/>
                    <!--<a href="#" onclick="return q_disable({$row['answer_id']},1)">启用</a><br/>-->
                </if>
            </td>
        </tr>
    </volist>
    </tbody>
</table>
<div class="pageFaye">
    <div class="pager">{$page}</div>
    <div class="clear"></div>
</div>
